const mongoose = require('mongoose');
const { Schema } = mongoose;
//库存表
const stockSchame = new Schema({
  id: String,//材料id
  name: String,//材料名称
  number: Number,//数量
  introduction: String,//介绍
  remark: String,//备注
});

const stockModel = mongoose.model('stock',stockSchame);

module.exports = stockModel;